<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="modal-header">
	<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
	<h4 class="modal-title" id="myModalLabel">管理员信息维护</h4>
</div>
<form action="${pageContext.request.contextPath}/powerManger/updateUser"  method="post">
<div class="modal-body" id="saveData" >
  <!-- 动态框的动态填充内容   modal-body 内部添加-->
	      <input hidden="hidden"  type="text" name="userId" value="${user.userId}"/>
		<div class="form-group">
		<label class="control-label col-lg-3">昵称：</label>
		<div class="col-lg-9">
		<input type="text" name="userNickname"    value="${user.userNickname}"  class="form-control input-sm" placeholder="昵称" >
		</div><!-- /.col -->
		</div><!-- /form-group -->	
			    
	
			
		<div class="form-group">
		<label class="control-label col-lg-3">性别：</label>
		<div class="col-lg-5">
		<select name="userSex"  class="form-control" >
		<option value="1" <c:if test="${user.userSex==1}" > selected="selected" </c:if>>男</option>
		<option value="0"  <c:if test="${user.userSex==0}" > selected="selected" </c:if>>女</option>
		</select>
		</div><!-- /.col -->
		</div><!-- /form-group -->		
	      <div class="form-group">
		<label class="control-label col-lg-3">帐号：</label>
		<label class="col-lg-6">
		 ${user.userName}
		 </label><!-- /.col -->
		</div><!-- /form-group -->						
</div>
<div class="modal-footer">
	<button type="button" class="btn btn-danger" data-dismiss="modal">关闭</button>
	<button type="submit"  class="btn btn-warning">提交/更改</button>
</div>
</form>
